package com.example.demo.mapper.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Table;
import java.util.List;

/**
 * @author Lucy
 * @create 2024-02-13 19:39
 */
@Data
@Table(name="badge")
public class Badge {
    @TableId(value = "badge_id", type = IdType.AUTO)
    private int badgeId;
    private String name;
    private String description;
    private String requirement;
    private String imageUrl;
    private int type;
    private int attributeId;
    private int attributeValue;
    private int taskId;
    private int badgeNumber;


}
